#!/usr/bin/env python
# coding=utf8

from flask import Flask

app = Flask(__name__)
app.config['DEBUG'] = True
app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql://root:123456@121.42.175.202:3306/submail?charset=utf8'
app.config['SQLALCHEMY_COMMIT_ON_TEARDOWN'] = True
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True


from app.api import manager
app.register_blueprint(manager, url_prefix="/manager")

from app.api import ext_service
app.register_blueprint(ext_service, url_prefix="/extservice")

from app.api import test
app.register_blueprint(test, url_prefix="/test")
